package com.example.demo;

import android.os.Bundle;

import androidx.activity.EdgeToEdge;

import com.example.demo.Fragment.DataCenterFragment;

public class SystemSettingsActivity extends BaseActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        EdgeToEdge.enable(this);
        setContentView(R.layout.activity_system_settings);

        // 加载 DataCenterFragment 到容器中
        if (savedInstanceState == null) {
            DataCenterFragment fragment = new DataCenterFragment();

            getSupportFragmentManager()
                    .beginTransaction()
                    .replace(R.id.content, fragment) // R.id.container 是你的 FrameLayout 容器 ID
                    .commit();
        }
    }
}